<span *ngIf="inputMode && form" [formGroup]="form">
    <span *ngIf="editMode" [core-mark-required]="field.required" class="core-mark-required"></span>
    <ion-input type="text" [formControlName]="'f_'+field.id" [placeholder]="field.name" />
    <core-input-errors *ngIf="error && editMode" [control]="form.controls['f_'+field.id]" [errorText]="error" />
</span>

<span *ngIf="displayMode && value && value.content">{{ value.content }}</span>
